.container {
    margin: 0;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.status {
    margin-bottom: 20px;
    padding: 10px;
    background: #e9ecef;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.clearButton {
    padding: 5px 10px;
    background-color: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s;
}

.clearButton:hover {
    background-color: #e9ecef;
    color: #495057;
}

.chatContainer {
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.chatHeader {
    background: #007bff;
    color: white;
    padding: 15px;
    font-size: 18px;
}

.chatMessages {
    height: 400px;
    overflow-y: auto;
    padding: 15px;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.emptyMessage {
    text-align: center;
    color: #6c757d;
    margin: auto;
    font-style: italic;
}

.message {
    margin: 10px 0;
    padding: 10px;
    border-radius: 8px;
    max-width: 70%;
    word-wrap: break-word;
}

.customerMessage {
    background: #e9ecef;
    margin-right: auto;
}

.agentMessage {
    background: #007bff;
    color: white;
    margin-left: auto;
}

.systemMessage {
    align-self: center;
    background-color: #e9ecef;
    color: #6c757d;
    font-size: 0.9em;
    padding: 6px 12px;
    border-radius: 16px;
    max-width: 90%;
}

.chatInput {
    padding: 15px;
    background: white;
    display: flex;
    gap: 10px;
}

.chatInput input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
}

.chatInput button {
    padding: 8px 20px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.chatInput button:hover {
    background: #0056b3;
}

.reconnectButton {
    padding: 5px 10px;
    margin-right: 8px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s;
}

.reconnectButton:hover {
    background-color: #218838;
} 